import { Component } from 'react'
import { initSystemInfo, getUserInfo, allStore } from './state/index';
import { loadResource } from './loading/index'
import './app.scss' 
initSystemInfo()
class App extends Component {
  async componentWillMount  () {
    // await initSystemInfo()
    loadResource()
    getUserInfo();
  }
  componentDidMount () {}

  componentDidShow () {}

  componentDidHide () {}

  componentDidCatchError () {}

  // this.props.children 是将要会渲染的页面
  render () {
    return this.props.children
  }
}
export default App
